﻿
namespace 贪吃蛇
{
    class Over :Game
    {
        public override void over()
        {
            Console.Clear();
            Console.SetCursorPosition(Game.bufWidth / 2 - 5, Game.bufHeight / 4);
            Console.ForegroundColor = ConsoleColor.White;
            Console.WriteLine("按任意键返回主菜单");
            Console.ReadKey(true); // 等待用户按键
            Game.scene = E_Scene.Start;
        }
    }
}